package com.duan.laugh.tx.two.controller;

import com.duan.laugh.tx.one.service.TestAService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestAController {
    @Autowired
    private TestAService testAService;

    @GetMapping("test")
    public void testTx() {
        testAService.testTx();
    }
}
